This function defines the origin of the grid data. This allows the user to select any corner of the grid as the origin.
Result = EOS_GD_DEFORIGIN(gridID, origincode)
Returns SUCCEED(0) if successful and FAIL(–1) otherwise
Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.
Location of the origin (long) of the grid data. The allowable values are:
None
In this Example we define the origin of the grid to be the Lower Right corner:
status = EOS_GD_DEFORIGIN(gridID, 3)
5.2 |
Introduced |